package org.oexam.ostudy.struct;

import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.Id;

@Entity 

public class Announcements {

	/**
	 * @uml.property  name="id"
	 */
	@Id 
	private int id;
	/**
	 * @uml.property  name="announcement"
	 */
	private String announcement;
	/**
	 * @uml.property  name="ann_date"
	 */
	private Date ann_date;

	/**
	 * @return
	 * @uml.property  name="announcement"
	 */
	public String getAnnouncement() {
		return announcement;
	}

	/**
	 * @param announcement
	 * @uml.property  name="announcement"
	 */
	public void setAnnouncement(String announcement) {
		this.announcement = announcement;
	}

	/**
	 * @return
	 * @uml.property  name="ann_date"
	 */
	public Date getAnn_date() {
		return ann_date;
	}

	/**
	 * @param ann_date
	 * @uml.property  name="ann_date"
	 */
	public void setAnn_date(Date ann_date) {
		this.ann_date = ann_date;
	}

	public Announcements(int id, String announcement, Date date) {
		super();
		this.id = id;
		this.announcement = announcement;
		this.ann_date = date;
	}

	public Announcements() {
		super();
	}

	/**
	 * @return
	 * @uml.property  name="id"
	 */
	public int getId() {
		return id;
	}

	/**
	 * @param id
	 * @uml.property  name="id"
	 */
	public void setId(int id) {
		this.id = id;
	}



}
